import { defHttp } from '/@/common/util/axios';

export enum Api {
  list = '/sys/user/getUserByDept',
  getDeptTreeSync = '/sys/sysDept/getDeptTreeSync',
}
/**
 * 获取部门树列表
 */
export const getDeptTreeSync = (params?) => defHttp.get({ url: Api.getDeptTreeSync, params });
/**
 * 部门用户信息
 */
export const list = (params?) => defHttp.get({ url: Api.list, params });
